/**
 * Copyright � 2012 GestureSoft. ALL RIGHTS RESERVED.
 * This file contains proprietary and GestureSoft CONFIDENTIAL Information.
 * Use, disclosure or reproduction is prohibited.
 * 
 * @fileName AppConst.as
 * @creationDate Aug 8, 2012
 * @author 
 * @version 1.0
 */
package com.gesturesoft.imultimax
{
	
	[Bindable]
	public class AppConst
	{
		
		//START:Error
		
		public static const ANDROID_ID:String = '123456';
		public static const WEBSITE_ADDRESS:String = 'http://www.google.com';
		public static const NET_CONNECTION_FAILED:String = 'Check your internet connectivity and try again!';
		public static const CONFIG_FILE_LOAD_FAILED:String = 'Config File Load Failed! Please try after some time.';
		public static const READ_ERROR:String = "Load failed please try after some time";
		
		//Database errors
		public static const DATABASE_UPDATION_ERROR:String = "Database updation failed";
		public static const DATABASE_INSERTION_ERROR:String = "Database insertion failed";
		public static const DATABASE_DATA_RETRIEVE_ERROR:String = "Database access failed";
		public static const DATABASE_TRANSACTION_ERROR:String = "Database transaction failed";
		
		public static const CHANGE_CURRENCY_ERROR:String = "Change currency failed, please report it";
		public static const CHANGE_PIN_ERROR:String = "Change pin number failed, please report it";
		
		public static const ENVIRONMENT_SETUP_ERROR:String = "Application environment setup failed, try after some time";
		
		public static const DB_EXECUTION_FAILED:String = "Database execution failed";
		//Database errors
		
		//Property Names
		public static const PROP_SEND:String = 'send';
		public static const PROP_RECIEVE:String = 'recieve';
		public static const PROP_CHANGEPIN:String = 'changepin';
		public static const PROP_CHANGEPCURRENCY:String = 'changecurrency';
		
		//END:Error
		
		//START:Error codes
		public static const DATABASE_INSERTION_ERROR_CODE:String = "001";
		public static const DATABASE_UPDATION_ERROR_CODE:String = "002";
		public static const DATABASE_DATA_RETRIEVE_ERROR_CODE:String = "003";
		public static const DATABASE_TRANSACTION_ERROR_CODE:String = "004";
		//END:Error codes
		
		//Target Platforms
		public static const IPHONE:String = 'IOS';
		public static const ANDROID:String = 'AND';
		public static const BLACKBERRY:String = "QNX";
		
		//invoke from url pattern
		public static const ANDROID_PATTERN:String = 'http:';
		public static const IPHONE_PATTERN:String = 'iMultiMax:';
		
		//View destruction Policy
		public static const DESTRUCTION_NEVER:String = 'never';
		public static const DESTRUCTION_AUTO:String = 'auto';
		
		
	}
	
}